package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 聊天列视图对象 p_chat_list
 *
 * @author ruoyi
 * @date 2022-08-22
 */
@Data
@ApiModel("聊天列视图对象")
@ExcelIgnoreUnannotated
public class PChatListVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    @ApiModelProperty("")
    private Long id;

    /**
     * 聊天主表id
     */
    @ExcelProperty(value = "聊天主表id")
    @ApiModelProperty("聊天主表id")
    private Long chatId;

    /**
     * 对方用户id
     */
    @ExcelProperty(value = "对方用户id")
    @ApiModelProperty("对方用户id")
    private Long anotherId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 是否删除0未删除1已删除
     */
    @ExcelProperty(value = "是否删除0未删除1已删除")
    @ApiModelProperty("是否删除0未删除1已删除")
    private Integer status;

    /**
     * 是否在线0在线1离线
     */
    @ExcelProperty(value = "是否在线0在线1离线")
    @ApiModelProperty("是否在线0在线1离线")
    private Integer isOnline;

    /**
     * 未读数量
     */
    @ExcelProperty(value = "未读数量")
    @ApiModelProperty("未读数量")
    private Long unread;


}
